v488.1 Autonomous Freight Readiness Architecture and Mission Control Planning

v476 Architecture Index Update

v475 Architecture Index Update

v473 Fleet Map Supervisor Approval Decision Audit Trail and Refresh Execution Lock Modeling

v472 Fleet Map Marker Refresh Approval Queue and Supervisor Review Readiness

Transportation Accounting Original Plan

v471 Fleet Map Dispatcher-Confirmed Marker Refresh Preview and Non-Live Marker Labeling

v469 Fleet Map Manual Position Update Persistence Contract and Audit Trail Planning

v468 Fleet Map Driver Check-In Workflow and Manual Position Update Readiness

PLATFORM_ARCHITECTURE_INDEX

v467 Fleet Map CORI Live Tracking Assistant Recommendations

v466 Fleet Map Route Deviation and Dispatcher Action Queue Readiness

v465 Fleet Map ETA Risk and Stopped-Too-Long Signal Foundation

v464 Fleet Map Route Overlay and Pickup/Delivery Proximity Foundation

v463 Fleet Map Marker Polish and Position Confidence Rules

This file is the controlled architecture index for Dispatch Spot inside `Project Documentation/Architecture/`.

v393 Root documentation inventory and classification

v392 Current operating manual and documentation folder foundation

v369 Dispatch Spot build rules and CORI Mail settings cleanup

v367.1 CORI Mail Prisma JSON build fix

Governing architecture documents

1. Core platform architecture

2. Privacy, terms, consent, and data lifecycle

Working rules

1. New builds must not drift away from the truck-centric operating model. 2. New pages must declare: - workspace - role visibility - page purpose - shared objects touched - audit/privacy/security impact 3. Shared objects are API-owned. UI surfaces may not become the system of record. 4. Internal notes and shared messages must stay explicitly separated. 5. Super Admin remains isolated from customer workspaces. 6. Every significant build must update the relevant governing architecture documents when required.

Immediate refactor spine

The next product refactor phase should follow this order: 1. Dispatcher Workspace truck-first spine - Home - My Trucks - Truck Command Page 2. Company Workspace truck-first spine 3. Shared permissions and audit model hardening 4. Driver Workspace 5. Broker/Shipper Workspace 6. Shared messaging and trusted timeline expansion

Current status after v271

v271 is a documentation-only architecture upgrade. No product/UI/database functionality changed in this build. The purpose of v271 was to place the new governing architecture documents in the source root at that time and make future builds follow them in a disciplined manner.

CORI Live Call Copilot governing document

CORI live listening runtime planning document

CORI normalized live event contract scaffold

CORI live event transport mock runtime foundation

v287

v303

DAT load board authenticated search integration architecture

Accounting Portal + QuickBooks synchronization architecture

Workspace phone number + dispatcher extension routing architecture

v311 workspace phone-system admin deepening

v312 additions

v313

v315 additions

v317

v319 additions

v322

v323

v324

v325

v326

v327

v362 CORI Financial briefing foundation

v363 CORI Financial readability and detail refinement

v364 CORI Mail AI email assistant foundation

v365 CORI Mail provider, draft, and work-conversion foundation

v366 CORI Mail custom domain and storage readiness

v367 CORI Mail schema-backed storage and Workspace Integrations foundation

v368 CORI Mail Custom SMTP testing and guarded send preparation

v371 Page cleanup and navigation simplification

v372 Workspace Settings tabs and integration cleanup

v373 Operational surface cleanup

v374 List Surface Cleanup

v375 Detail Page Cleanup

v375.1 - Detail Page Import Build Fix

v376 Form, Invoice, and Subpage Cleanup

v377 High-Use Surface Cleanup

v378 Hidden Section, Route, and Call Language Cleanup

v379 Admin Placement, Truck Command, and CRM Language Cleanup

v380 Final High-Use Language Sweep

v380 adds the Final User-Facing Language Sweep Rule and applies it across Dispatch Board, Loads, Paperwork, Billing Records, CORI Briefing, CORI Mail, and supporting helper panels. No Prisma schema changes.

v381 Handoff Note — Cleanup Closeout and Build Preflight Guard

v381 closes the broad cleanup cycle unless live UI review identifies a specific remaining confusing page. Future changes should resume feature development with `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md` enforced before every build.

A new preflight command is now available and should run before TypeScript and Next build:

npm run dispatchspot:preflight

This command checks local source imports for missing files and prints non-blocking language warnings for selected internal terms on normal user-facing surfaces. It is designed to catch cleanup bridge mistakes earlier, especially after renaming helper components or moving content between user surfaces and settings/admin pages.

No Prisma schema changes were added in v381.

v382 - Simple app-style notifications foundation

New files:

Updated files:

v383 - Notification Preferences and Opt-In Delivery Planning

v384 Notification Delivery Through Workspace Integrations

See `DISPATCH_SPOT_NOTIFICATION_DELIVERY_INTEGRATIONS_V384.md` and `.html` for the notification delivery readiness and guarded Custom SMTP test-send foundation.

v385 - Urgent Text Opt-In and Phone Capture

v386 - Guarded Urgent Text Delivery Preparation

v387 — Notification SMS Send and Audit Records

v387 adds guarded urgent text sending and schema-backed send audit records while keeping Twilio setup in Workspace Settings > Third-Party Integrations.

v388 — Notification Read/Unread and Dismissal Behavior

v388 adds schema-backed per-user app alert state through `AppNotificationUserState`, updates the notification bell to count unread active alerts, and gives users simple read/unread and hide/show-again controls on `/notifications`.

Prisma schema impact: yes.

v390 — Notification Settings Relocation and Operational Surface Lock

v390 corrects notification surface drift. `/notifications` is now an alert/action surface only. Notification preferences, phone-number capture, urgent-text opt-in/out, delivery readiness, and test-send controls belong in Workspace Settings > Notifications. Provider credentials and connected accounts remain in Workspace Settings > Third-Party Integrations.

This supersedes earlier notification-track notes that allowed settings or opt-in controls directly on `/notifications`.

v398 product re-entry note

The documentation cleanup cycle is complete enough for normal feature work. v399 completed CORI Mail send-review and audit visibility hardening. Recommended next product architecture focus: notification digest/email trigger behavior.

v407 Architecture Index Addition

Use `WORKSPACE_PARITY_AND_MEMBERSHIP_SUBSCRIPTION_TRIAL_PLAN.md` for the post-notification planning track covering role workspace parity, workspace type direction, membership subscription engine planning, trial-period registration workflow, entitlement limits, add-ons, billing status behavior, Stripe handoff, expired-trial handling, and Super Admin visibility.

v410 Membership subscription/trial/workspace-type architecture

Active planning source:

Use this before changing sign-up UI, Prisma subscription/workspace models, trial behavior, plan visibility, invited driver/customer/carrier portals, Freight Broker load distribution limits, internal load-board access, Stripe handoff, or Super Admin billing visibility.

v413 architecture update

`Project Documentation/Build History/WORKSPACE_TYPE_SUBSCRIPTION_PRISMA_FOUNDATION_V413.md` records the first database foundation for workspace type/account class, plan family/visibility, and Super Admin audit events. Future Super Admin registration, trial, billing-gate, and workspace-classification work should use this foundation but should not enforce it until the classification workflow is built.

v414 Architecture Index Note

The workspace type/subscription track now includes a guarded Super Admin classification workflow. Use `Project Documentation/Build History/SUPER_ADMIN_WORKSPACE_CLASSIFICATION_WORKFLOW_V414.md` together with `WORKSPACE_TYPE_SUBSCRIPTION_SCHEMA_DESIGN_REVIEW.md` before extending registration, plan visibility, billing gates, owned interface records, invited portals, broker distribution limits, or internal load-board access.

v415 Architecture Index Note

`Project Documentation/Build History/SUPER_ADMIN_PLAN_VISIBILITY_CLASSIFICATION_READINESS_REVIEW_V415.md` records the Super Admin review layer that compares stored workspace classifications with plan visibility and readiness warnings. Use it before moving to registration-time workspace type selection, public plan visibility, billing gates, portal ownership records, broker distribution limits, or internal load-board access rules.

---

Older migrated architecture entries preserved below

v412 Workspace Type / Subscription Schema Design Review

v411 Super Admin Workspace Type and Subscription Overview Foundation

v409 Role Workspace Architecture and Super Admin Administration Requirements

v408 Super Admin Control Center Information Architecture

v394 Consolidated Active Architecture Note

The current compact product and architecture source is now `Project Documentation/06_CONSOLIDATED_ACTIVE_PRODUCT_ARCHITECTURE_MANUAL_V394.md`.

Use that manual before opening older architecture source files. This index remains useful as a map of original source documents, but older entries are subordinate to the consolidated manual, build rules, and current source-of-truth documents.

---

v370 Surface cleanup audit and Notification Center removal

v391 Documentation source-of-truth structure

v470 Architecture Index Note

`Project Documentation/Build History/FLEET_MAP_MARKER_REFRESH_DISPATCHER_CONFIRMED_STATE_MODEL_V470.md` records the Fleet Map marker refresh review state model. Use it before moving from manual position audit records into any visible marker-refresh behavior. Green markers remain reserved for live driver-app GPS. Dispatcher-confirmed/manual positions must remain non-live and clearly labeled.

v471 Architecture Index Note

`Project Documentation/Build History/FLEET_MAP_DISPATCHER_CONFIRMED_MARKER_REFRESH_PREVIEW_NON_LIVE_LABELING_V471.md` records the non-live marker refresh preview and labeling layer. Use it before approving any build that moves marker coordinates from manual records. Green remains live driver-app GPS only; dispatcher-confirmed evidence stays blue/non-live and clearly labeled.

v474 Architecture Index Note — Fleet Map dry-run and rollback readiness

v477 Fleet Map lifecycle dashboard index note

Fleet Map now includes a non-live marker lifecycle dashboard and stale-position cleanup layer. See Project Documentation/Architecture/FLEET_MAP_LIVE_ESTIMATED_TRUCK_POSITIONING_ARCHITECTURE.md and Project Documentation/Build History/FLEET_MAP_NON_LIVE_MARKER_LIFECYCLE_DASHBOARD_STALE_POSITION_CLEANUP_V477.md.

v478 Fleet Map driver-app GPS readiness index note

Fleet Map now includes driver-app GPS intake contract, consent/privacy readiness, and live-marker eligibility behavior. See Project Documentation/Architecture/FLEET_MAP_LIVE_ESTIMATED_TRUCK_POSITIONING_ARCHITECTURE.md and Project Documentation/Build History/FLEET_MAP_DRIVER_APP_GPS_INTAKE_CONTRACT_CONSENT_LIVE_ELIGIBILITY_V478.md.

v480 Fleet Map provider-neutral GPS/ELD/telematics sandbox connector index note

Fleet Map now includes provider-neutral GPS/ELD/telematics sandbox mapping, sandbox signal review, stale/failure marking, and conflict visibility against driver-app GPS. See `Project Documentation/Architecture/FLEET_MAP_LIVE_ESTIMATED_TRUCK_POSITIONING_ARCHITECTURE.md` and `Project Documentation/Build History/FLEET_MAP_PROVIDER_NEUTRAL_GPS_ELD_TELEMATICS_FOUNDATION_SANDBOX_CONNECTOR_V480.md`.

Green markers remain fresh driver-app GPS only. Provider sandbox evidence does not move marker coordinates, turn markers green, override driver-app GPS, connect production provider APIs, or call Google Geocoding/Routes APIs.

v480.1 Fleet Map provider sandbox build-fix index note

v480.1 fixes the Fleet Map provider sandbox route-overlay point typing issue reported during production build after v480. This is a build-only TypeScript correction in `src/modules/fleet-map/fleet-map.service.ts` and does not alter provider sandbox behavior, GPS source priority, marker mutation rules, Google API readiness, billing, broker distribution, owned portal, internal load-board, Transportation Accounting, or Prisma schema.